package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyMdPsfymx;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyMdCaiwuParam;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyMdPsfymxParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyMdPsfymxResult;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyMdSfcResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 配送费用明细 服务类
 * </p>
 *
 * @author 
 * @since 2021-10-25
 */
public interface BtyMdPsfymxService extends IService<BtyMdPsfymx> {

    /**
     * 新增
     *
     * @author 
     * @Date 2021-10-25
     */
    void add(BtyMdPsfymxParam param);

    /**
     * 删除
     *
     * @author 
     * @Date 2021-10-25
     */
    void delete(BtyMdPsfymxParam param);

    /**
     * 更新
     *
     * @author 
     * @Date 2021-10-25
     */
    void update(BtyMdPsfymxParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author 
     * @Date 2021-10-25
     */
    BtyMdPsfymxResult findBySpec(BtyMdPsfymxParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author 
     * @Date 2021-10-25
     */
    List<BtyMdPsfymxResult> findListBySpec(BtyMdPsfymxParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author 
     * @Date 2021-10-25
     */
     LayuiPageInfo findPageBySpec(BtyMdPsfymxParam param);

    List<BtyMdPsfymxResult> findAllPsfymx(BtyMdCaiwuParam param);

    LayuiPageInfo findAllSfc(BtyMdCaiwuParam param);

    List<BtyMdSfcResult> findSfcDate(BtyMdCaiwuParam param);
}
